Ext.define("byb.view.Viewport", {
    extend: "Ext.container.Viewport",
    id: "myViewPort",
    requires: ["byb.view.AccordionView", "byb.view.TopView", "byb.view.BaseManager"],
    layout: {
        type: 'border'
    },
    defaults: {
    // frame: true,
    // split: true
    },
    initComponent: function() {
        byb.Constant.getType();
        this.items = [{
            xtype: "TopView",
            region: "north",
            height: 78
        }, {
            xtype: "AccordionView",
            region: "west",
            width: 238
        }, {
            xtype: "panel",
            region: "center",
            layout: "fit",
            id: "contentManager",
            items: [{
            // xtype: "TeamManager"
            // xtype:"hrManager_BaseInfo",
            }]
        }];
        this.callParent(arguments);
    }
});
